Previous Book Contents Book Index Next

Inside Macintosh: Programming With JManager /
Chapter 2 - JManager Reference / JManager Functions
Applet Control Functions /


JMGetAppletTag

Returns the tag associated with an applet.

OSStatus JMGetAppletTag (
                     JMAppletLocatorRef locatorRef, 
                     UInt32 appletIndex, 
                     JMTextRef* tagRef);
locatorRef
The applet locator that contains the retrieved HTML text.
appletIndex
The index number of the applet you want to query.
tagRef
A pointer to a text object. on return, the tagRef object contains the applet tag.
function result
A result code; see "JManager Result Codes".
DISCUSSION
The JMGetAppletTag function returns the text bounded by the <APPLET> and
</APPLET> delimeters in an HTML document. The appletIndex value is an index number from 0 to appletCount -1, where appletCount is determined by the JMCountApplets function. You can call this function only after successfully retrieving HTML text using the JMNewAppletLocator function.

SEE ALSO
"Finding Applets".


Previous Book Contents Book Index Next

© Apple Computer, Inc.
10 DEC 1997